#ifndef VDTHREAD_H
#define VDTHREAD_H

#include <QObject>
#include <erpc_version.h>
#include <erpc_server_setup.h>

class QTimer;

class ServerThread : public QObject
{
    Q_OBJECT
public:
    explicit ServerThread(QObject *parent = nullptr);

public slots:
    void startSVC();
    void stopSVC();

private slots:
    void runServer();

signals:

private:
    QTimer *m_timer;
    erpc_transport_t transport;
    erpc_server_t server;
};

#endif // VDTHREAD_H
